type ABC = {a:number,b:number,c:number}

function sum({a,b,c}:ABC){
  console.log(a+b+c);
}
sum({
  a:10,
  b:3,
  c:9
})